package com.apes.fn.pi;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.apes.framework.query.ApesDao;
import org.springframework.stereotype.Component;

@Component
public class PiDao extends ApesDao {
    /***
     * 临时导入数据专用
     */
    public JSONArray querySql(String sSql, JSONObject param){
        return toJSONArray(find(sSql, param));
    }

    public JSONArray querySql(String sSql){
        return toJSONArray(find(sSql));
    }
}
